union of two arrays python solution